<!--
 * <div><Switch :value="y" @input="y = $event" /></div>
 * <div><Switch  v-model:value="y" /></div>
-->
<template>
  <div>
    
    <div><h1>switch组件</h1><Switch v-model:value="bool" /></div>
  </div>
</template>
<script lang="ts">
import { ref } from "vue";
import Switch from "../lib/Switch.vue";
export default {
  components: { Switch },
  setup() {
    const bool = ref(true);
    return { bool };
  },
};
</script>
